package com.ranchuanyin.schoolcat.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ranchuanyin.schoolcat.domain.CatUserFriend;
import com.ranchuanyin.schoolcat.mapper.CatUserFriendMapper;
import com.ranchuanyin.schoolcat.service.CatUserFriendService;
import com.ranchuanyin.schoolcat.vo.FriendVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 冉船银
 * @description 针对表【cat_user_friend】的数据库操作Service实现
 * @createDate 2023-11-22 21:30:36
 */
@Service
public class CatUserFriendServiceImpl extends ServiceImpl<CatUserFriendMapper, CatUserFriend>
        implements CatUserFriendService {
    @Resource
    CatUserFriendMapper catUserFriendMapper;

    @Override
    public List<FriendVO> getFriendList(Long id) {
        return catUserFriendMapper.getFriendList(id);
    }
}




